package com.pojo;

public class UserRole {
    //这里是将用户和用户的角色进行连接关联的表
    private int id;//user_role主键
    private int userId;//关联user表的主键
    private int roleId;//关联role表的主键

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }
}
